package com.gtq.uhome.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Date;
import java.sql.Timestamp;

@Data
@ApiModel(value ="操作日志中所需字段" )
public class OperatorLog {

    @ApiModelProperty(value = "角色名")
    private String roleName;


    @ApiModelProperty(value = "角色名")
    private String staffName;

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "操作类型")
    private String operationName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "操作时间")
    private Timestamp operTime;

    @ApiModelProperty(value = "操作内容")
    private String operationBody;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "开始时间")
    private Timestamp startTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "截止时间")
    private Timestamp endTime;


}
